package com.ruoyi.project.system.groupimg.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 集团风采图片
 *
 * Created by Administrator.
 *
 * @autor LCL - 2020/8/3 - 15:59.
 */
public class GroupImg extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 图片名称 */
    @Excel(name = "图片名称")
    private String name;

    /** 描述 */
    private String notes;

    /** 图片访问路径 */
    @Excel(name = "图片访问路径")
    private String url;

    /** 图片类型 0：PC端 1：手机 */
    private Integer type;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }

    public String getNotes() {
        return notes;
    }
    public void setNotes(String notes) {
        this.notes = notes;
    }

    public String getUrl() {
        return url;
    }
    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getType() {
        return type;
    }
    public void setType(Integer type) {
        this.type = type;
    }

    public Long getSort() {
        return sort;
    }
    public void setSort(Long sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("sort", getSort())
                .append("url", getUrl())
                .append("name", getName())
                .append("notes",getNotes())
                .append("sourceType",getType())
                .toString();
    }

}
